#pragma once
class Terrain
{
private:
	Ogre::TerrainGlobalOptions* mTerrainGlobals;
    Ogre::TerrainGroup* mTerrainGroup;
    bool mTerrainsImported;

	Ogre::SceneManager* mSceneMgr;
	Ogre::Light* light;
public:
	Terrain(Ogre::SceneManager*, Ogre::Light*);
	void defineTerrain(long x, long y);
    void initBlendMaps(Ogre::Terrain* terrain);
    void configureTerrainDefaults(Ogre::Light* light);
	void getTerrainImage(bool flipX, bool flipY, Ogre::Image& img);
	void destroy();
	void createTerrain(NxPhysicsSDK* mPhysicsSDK, NxScene* mNxScene);
	~Terrain(void);
};

